@charset "utf-8";
/* 页面白色导航栏样式 */
nav {
	width: 100%;
	min-width: 1225px;
	height: 74px;
	background-color: #fff;
	box-shadow: 0 4px 10px 0 rgba(0,0,0,.05);
	position: relative;
	z-index: 999;
	border-bottom: 1px solid #cccccc;
	box-sizing: border-box;
}

nav a:visited {
	color: #666666;
}

nav ul {
	width: 1225px;
	margin: 0 auto;
	height: 74px;
	align-items: center;
	justify-content: center;
}

nav ul li {
	display: block;
	float: left;
	padding: 0 15px;
	height: 74px;
	display: flex;
	align-items: center;
}

nav ul li:nth-child(1) a {
    font-weight: 600;
    color: #222222;
}

nav ul li a {
	width: 100%;
	height: 100%;
	color: #222222;
	display: flex;
	align-items: center;
	justify-content: center;
}

nav ul li a:hover {
	color: #000000;
}
nav ul li:nth-last-child(1){
	float: right;
	width: 315px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
}
nav ul li:nth-last-child(1) div{
	width: 315px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	position: relative;
}

nav ul li:nth-last-child(1) b{
	font-size: 20px;
	color: #6A6A6A;
	margin-left: 20px;
	display: none;
}

/* 设置白色导航栏的悬浮到上面的样式 */
nav ul li:nth-last-child(1) .scrollhide{
	display: none;
}
.scrollnav{
	position: fixed;
	top: 0;
	right: 0;
}
nav ul li:nth-last-child(1) .scrollshow{
	display: block;
}


.searchbar {
	width: 260px;
	height: 34px;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	display: block;
	outline: none;
	border: 1px solid #EEEEEE;
	border-left: none;
	padding-left: 5px;
	padding-right: 40px;
	box-sizing: border-box;
	font-size: 16px;
	font-weight: 600;
}

nav ul li:nth-last-child(1) button {
	width: 30px;
	height: 34px;
	background-color: #FFFFFF;
	border: 1px solid #EEEEEE;
	outline: none;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	border-right: none;
	padding-left: 5px;
}

nav ul li:nth-last-child(1) button span {
	font-size: 16px;
	color: #999999;
}

.icon-cha1 {
	position: absolute;
	right: 15px;
}

nav ul li:nth-last-child(1) p {
	display: block;
	padding: 0 8px;
	position: absolute;
	font-weight: 600;
}

.tip1 {
	background-color: #E5EFFF;
	border: 1px solid #3965CC;
	border-radius: 10px;
	color: #0077AA;
	right: 60px;
}

.tip2 {
	background-color: #F7FAE0;
	border: 1px solid #9AB852;
	color: #9AB852;
	border-radius: 10px;
	right: 10px;
}

/* 输入时让tip隐藏 */
nav ul li:nth-last-child(1) p.tiphidden{
	display: none;
}

// 二级菜单的样式
.navSub{
	position: absolute;
	width: 100%;
	height: 0px;
	background-color: #ffffff;
	z-index: 999;
	display: flex;
	justify-content: center;
	overflow: hidden;
	.category{
		height: 240px;
		padding-top: 26px;
		padding-right: 100px;
		display: flex;
		flex-direction: column;
		h2{
			font-size: 12px;
			color: #000000;
			opacity: 0.5;
			font-weight: 700;
			padding-left: 6px;
		}
		div{
			display: flex;
			align-items: center;
			padding-top: 14px;
			img{
				width: 40px;
				height: 40px;
			}
			span{
				font-weight: 700;
				color: rgba(0,0,0,.8);
			}
		}
	}
	.goods{
		height: 266px;
		ul{
			height: 266px;
			display: flex;
			li{
				width: 120px;
				height: 266px;
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;
				img{
					width: 126px;
					height: 126px;
				}
				h2{
					font-size: 14px;
					color: #333333;
					margin: 16px 0 8px;
					font-weight: 700;
					white-space: nowrap;
					overflow: hidden;
					width: 100%;
					text-align: center;
					text-overflow: ellipsis;
				}
				span{
					font-size: 12px;
					color: #999999;
					font-weight: 700;
					em{
						font-size: 14px;
						color: #d44d44;
					}
				}
			}
		}
	}
}